package com.banksoft.cps.dao;

import com.banksoft.cps.bean.SupplierOrder;
import com.banksoft.cps.bean.query.SupplierOrderQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
@Repository
public interface SupplierOrderDao {
    void insert(SupplierOrder bean);

    void update(SupplierOrder bean);


    SupplierOrder findById(String id);

    List<SupplierOrder> list(SupplierOrderQuery query);

    long count(SupplierOrderQuery query);
}
